package org.jeecg.modules.demo.task.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: t_task
 * @Author: jeecg-boot
 * @Date:   2025-04-14
 * @Version: V1.0
 */
@Data
@TableName("t_task")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="t_task对象", description="t_task")
public class TTask implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;
	/**笔记id*/
	@Excel(name = "笔记id", width = 15)
    @ApiModelProperty(value = "笔记id")
    private String noteId;
	/**定时任务频率*/
	@Excel(name = "定时任务频率", width = 15, dicCode = "task_frequency")
	@Dict(dicCode = "task_frequency")
    @ApiModelProperty(value = "定时任务频率")
    private String taskTime;
	/**任务状态*/
	@Excel(name = "任务状态", width = 15, dicCode = "task_type")
	@Dict(dicCode = "task_type")
    @ApiModelProperty(value = "任务状态")
    private Integer type;
	/**创建时间*/
    @ApiModelProperty(value = "创建时间")
    private Long createTime;
	/**修改时间*/
    @ApiModelProperty(value = "修改时间")
    private Long updateTime;
    /**查询的用户id*/
    @ApiModelProperty(value = "查询的用户id")
    private String userId;
    /**
     * 用户请求token
     */
    private String token;
}
